<!DOCTYPE html>
<head lang="en">
    <meta charset="UTF-8">
    <title>会员消费</title>
    <link rel="stylesheet" href="../css/bootstrap.min.css"/>
    <link rel="stylesheet" type="text/css" href="../lib/toast/angular-toastr.min.css"/>
    <link rel="stylesheet" href="../lib/angular/loadingBar/lbar.black.css"/>

</head>
<body style="padding: 10px;" ng-app="myApp" ng-controller="cusSpendCtrl">
<header ng-include="'../html/part/header.html'" class="abs-header"></header>
<br><br><br>

<h2>会员消费</h2>
<hr>

<form>
<div class="input-group-lg">
    <input id="customer_num" ng-model="customer_num" type="text" class="form-control" placeholder="会员号" autofocus required/><br><br>
    <input type = text name="input-cost" ng-model="customer_cost" class="form-control" placeholder="消费金额" ng-keyup="costClearNoNum(customer_cost)" /><br><br>
    <input type = text name="input-score" ng-model="customer_score" class="form-control" placeholder="积分" ng-keyup="scoerClearNoNum(customer_score)"/><br><br>
    <div class="bottom-right">
        <button type="submit" ng-click="saveCustomerCost(customer_num,customer_cost,customer_score)" class="btn btn-info">
            确认</button>
    </div>
</div>
</form>


<!--<h2>今日营业情况</h2>-->
<!--<hr>-->
<!--<table class="imagetable" width="100%">-->
    <!--<tr ng-hide="costList.length==0">-->
        <!--<th>会员号</th><th>会员名</th><th>消费金额</th><th>日期</th>-->
    <!--</tr>-->
    <!--<tr ng-repeat="cost in costList">-->
        <!--<td>{{cost.customerNum}}</td>-->
        <!--<td>{{cost.customerName}}</td>-->
        <!--<td>{{cost.cost | currency:"￥"}}</td>-->
        <!--<td>{{cost.costDate| date:'yyyy-MM-dd HH:mm:ss'}}</td>-->
    <!--</tr>-->
<!--</table>-->

<br><br><br>
<footer ng-include="'../html/part/footer.html'"></footer>
</body>
<script type="text/javascript" src="../lib/angular/angular.min.js"></script>
<script type="text/javascript" src="../lib/angular/angular-cookies.js"></script>
<script type="text/javascript" src="../lib/angular/angular-ui-router.min.js"></script>
<script type="text/javascript" src="../js/controller/services/model.js"></script>
<script type="text/javascript" src="../js/controller/cusSpend.ctrl.js"></script>
</html>